import React from "react";
import "../../assets/fonts/iconfont.css";
import './index.scss'
export default function MyIconFont(props) {
  let { font, size, color } = props;
  size=size||'16px'
  color = color || '#666'
  return (
    <>
      <i
        className={"iconfont " + font}

        style={{ fontSize: size, color: color }}
      ></i>
    </>
  );
}
